package com.gjs.management.pojo.dto.staff;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gjs.management.pojo.entity.ManagementStaff;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.util.Set;


@Data
@ApiModel("Staff查询对象")
public class StaffQueryDTO {

    @Min(value = 1,message = "员工ID必须为整数且不能小于1")
    @ApiModelProperty("员工ID")
    private Long id;

    @ApiModelProperty("用户唯一序列号")
    private String userSn;

    @ApiModelProperty("用户唯一序列号集合")
    private Set<String> userSnSet;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户手机号")
    private String mobile;
}
